@font-face {
    font-family: "font-default";
    src: url("../../assets/cockpit_image/font/font-default.otf");
}
@font-face {
    font-family: "font-number";
    src: url("../../assets/cockpit_image/font/font-number.otf");
}
@font-face {
    font-family: "font-ys";
    src: url("../../assets/cockpit_image/font/font-ys.ttf");
}
.font-number {
    font-family: "font-number";
}
.font-ys {
    font-family: "font-ys";
}
.cockpit-scrollbar{
    overflow: auto;
    overflow-x: hidden;
    &::-webkit-scrollbar {
        /*width: 0;宽度为0隐藏*/
        width: 0px;
    }
    &::-webkit-scrollbar-thumb {
        border-radius: 2px;
        height: 50px;
        background: rgba(255,255,255,0.24);
    }
    &::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 2px;
        background: rgba(0,0,0,0.24);
    }
    // &:hover{
    //   overflow: auto;
    // }
}

.count-number{
    font-size: 0.16rem;
    font-family: "font-number";
}

.count-label{
    color: #6E90B8;
}

.dialog-window {
    .el-dialog {
        background: transparent;
        background-image: url("../../assets/cockpit_image/dialog/popup-bg.png");
        background-size: 100% 100%;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0px !important;
        height: 8.24rem;
        font-family: "font-default";
        .el-dialog__header {
            padding: 0;
            .el-dialog__headerbtn {
                top: 0.23rem;
                right: 0.24rem;
                z-index: 2;
                .el-dialog__close {
                    background-image: url('../../assets/cockpit_image/dialog/icon-popup-close.png');
                    background-size: 100% 100%;
                    width: 0.34rem;
                    height: 0.34rem;
                    &:before{
                    content: '';
                    }
                }
            }
        }
        .el-dialog__body {
            padding: 0;
            color: #FFFFFF;
            font-size: 0.14rem;
            >div{
                padding-top: 0.12rem;
            }
            input{
                color: #fff;
                font-size: 0.14rem;
                &::-webkit-input-placeholder{   /* 使用webkit内核的浏览器 */
                    color: #ffffff;
                }
                &:-moz-placeholder{    /* Firefox版本4-18 */
                    color: #ffffff;
                }              
                &::-moz-placeholder{    /* Firefox版本19+ */
                    color: #ffffff;
                }              
                &:-ms-input-placeholder{   /* IE浏览器 */
                    color: #ffffff;
                }
            }
        }
    }
    &.size-small{
        .el-dialog {
            background-image: url("../../assets/cockpit_image/dialog/popup-small-bg.png");
            height: 5.6rem;
            .el-dialog__header {
                .el-dialog__headerbtn {
                    top: 0.24rem;
                    right: 0.24rem;
                    .el-dialog__close {
                        background-image: url('../../assets/cockpit_image/dialog/icon-popup-small-close.png');
                        width: 0.36rem;
                        height: 0.36rem;
                    }
                }
            }
            .el-dialog__body {
                >div{
                    padding: 0.24rem;
                }
                .dialog-small-title{
                    border-bottom: 1px solid rgba(112,188,255,0.24);
                    padding-bottom: 0.16rem;
                    font-size: 0.28rem;
                    font-family: "font-ys";
                    color: #FFFFFF;
                    letter-spacing: 0.04rem;
                    background: linear-gradient(180deg, #FFFFFF 0%, #70ECFF 100%);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                }
            }
        }
    }
}

.popup-header-box{
    background: url("../../assets/cockpit_image/dialog/popup-header-bg.png");
    background-size: 100% 100%;
    width: 100%;
    height: 0.56rem;
    display: flex;
    align-items: center;
    padding-left: 0.89rem;
    padding-right: 0.82rem;
    .popup-header-title{
        width: 2.25rem;
        line-height: 0.56rem;
        font-size: 0.32rem;
        font-family: "font-ys";
        color: #FFFFFF;
        letter-spacing: 0.02rem;
        text-shadow: 0px 0px 0.08rem rgba(51,133,255,0.56), 0px 0px 0.02rem rgba(51,160,255,0.72);
    }
    .popup-header-tab-box{
        display: flex;
        .popup-header-tab-item{
            background: url("../../assets/cockpit_image/dialog/popup-header-tab-item.png");
            background-size: 100% 100%;
            width: 1.08rem;
            height: 0.34rem;
            font-size: 0.18rem;
            font-family: "font-ys";
            color: rgba(255,255,255,0.56);
            text-align: center;
            cursor: pointer;
            line-height: 0.34rem;
            &.active{
                background-image: url("../../assets/cockpit_image/dialog/popup-header-tab-item-active.png");
                color: #FFFFFF;
                text-shadow: 0px 0px 0.8rem rgba(51,160,255,0.4), 0px 0px 0.02rem rgba(51,160,255,0.4);
            }
        }
    }
}

.popup-content-box{
    padding: 0.24rem;
}

.cockpit-table-box{
    font-size: 0.16rem;
    .cockpit-table-header{
      display: flex;
      align-items: center;
      height: 0.4rem;
      width: 100%;
      background-size: cover;
      background-repeat: no-repeat;
      background-image: url('../../assets/cockpit_image/dialog/table-header-bg-1152.png');
      >div{
        text-align: center;
        flex: 1;
        color: #6395E0;
        padding: 0 0.02rem;
      }
    }
    .cockpit-table-body{
      padding: 0.12rem 0;
      .cockpit-table-tr{
        min-height: 0.48rem;
        padding: 0.12rem 0;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-bottom: 0.12rem;
        color: #fff;
        position: relative;
        >div{
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 0 0.04rem;
          &.status-box{
            >div{
              height: 0.22rem;
              line-height: 0.22rem;
              border-radius: 0.02rem;
              font-size: 0.14rem;
              padding: 0 0.04rem;
            }
            .status-red{
              background: #FF3341;
            }
            .status-yellow{
              background: #FF9233;
            }
            .status-green{
              background: #18CC84;
            }
          }
          &.relic-status-box{
            display: flex;
            align-items: center;
            img{
                width: 0.16rem;
                height: 0.16rem;
                margin-right: 0.04rem;
            }
          }
          &.cockpit-table-img{
            .image{
              width: 0.72rem;
              height: 0.72rem;
              margin-right: 0.12rem;
            }
          }
          &.handle-box{
            >div{
              height: 0.3rem;
              line-height: 0.3rem;
              background: #3385FF;
              border-radius: 0.2rem;
              padding: 0 0.16rem;
              font-size: 0.14rem;
              margin: 0 0.06rem;
              opacity: 0.5;
              &:hover{
                opacity: 1;
              }
            }
          }
        }
        i{
            font-size: 0.14rem;
            position: absolute;
            right: 0.1rem;
            top: 50%;
            transform: translateY(-50%);
        }
        &:nth-child(odd){
          background: rgba(112,188,255,0.08);
        }
        &.active,&:hover{
          background: rgba(112,236,255,0.12);
          box-shadow: inset 0px -1px 0px 0px rgba(112,236,255,0.5);
        }
        &.tr-select{
            box-shadow:none;
            border-left: 1px solid rgba(112,236,255,0.5);
            border-right: 1px solid rgba(112,236,255,0.5);
            background: rgba(112,236,255,0.12);
            i{
                transform: translateY(-50%) translateZ(180deg);
            }
        }
      }
    }
}

.cockpit-page-box{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    >div{
        margin: 0 0.12rem;
        width: 1.2rem;
        height: 0.32rem;
        background-size: 100% 100%;
        cursor: pointer;
        &:nth-child(1){
            background-image: url('../../assets/cockpit_image/dialog/page-first.png');
            &:hover,&.active{
                background-image: url('../../assets/cockpit_image/dialog/page-first-active.png');
            }
        }
        &:nth-child(2){
            background-image: url('../../assets/cockpit_image/dialog/page-prev.png');
            &:hover,&.active{
                background-image: url('../../assets/cockpit_image/dialog/page-prev-active.png');
            }
        }
        &:nth-child(3){
            background-image: url('../../assets/cockpit_image/dialog/page-next.png');
            &:hover,&.active{
                background-image: url('../../assets/cockpit_image/dialog/page-next-active.png');
            }
        }
        &:nth-child(4){
            background-image: url('../../assets/cockpit_image/dialog/page-last.png');
            &:hover,&.active{
                background-image: url('../../assets/cockpit_image/dialog/page-last-active.png');
            }
        }
    }
}
.dialog-no-data{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.2rem;
    letter-spacing: 0.02rem;
}

.popup-header-query-box{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    >div{
        height: 0.34rem;
        margin-left: 0.12rem;
        background: rgba(0,24,61,0.4);
        box-shadow: inset 0px 0px 0.08rem 0.01rem rgba(51,160,255,0.44);
    }
    .daterange-box{
        width: 2.24rem;
        .el-input__inner{
            width: 100%;
            padding: 0;
            justify-content: space-between;
        }
        .el-input__inner,.el-range-input{
            background-color: transparent;
            font-size: 0.14rem;
            border: 0;
            height: 0.34rem;
        }
        .el-range-input{
            width: 1rem;
        }
        .el-range-editor--medium .el-range__icon, .el-range-editor--medium .el-range__close-icon{
            display: none;
        }
        .el-range-separator{
            color:#fff;
            height: 0.34rem;
            line-height: 0.32rem;
            font-size: 0.14rem;
            padding: 0;
        }
    }
    .select-box{
        width: 1rem;
        .el-select{
            .el-input__inner{
                background-color: transparent;
                font-size: 0.14rem;
                border: 0;
                padding: 0 0.28rem 0 0.12rem;
                height: 0.34rem;
            }
            .el-input__suffix{
                right: 0;
                .el-select__caret{
                    color: #fff;
                    font-size: 0.12rem;
                    line-height: 0.34rem;
                    width: 0.25rem;
                }
                .el-icon-arrow-up:before {
                    content: "\e78f";
                }
            }
        }
    }
    .input-box{
        width: 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        input{
            width: calc(100% - 0.35rem);
            background-color: transparent;
            outline:none;
            border: 0;
            padding-left: 0.12rem;
            font-size: 0.14rem;
        }
        img{
            width: 0.32rem;
            height: 0.32rem;
            margin-right: 0.03rem;
            cursor: pointer;
        }
        &:after{
            content: '';
            width: 1px;
            height: 0.16rem;
            background: rgba(255,255,255,0.24);
            position: absolute;
            right: 0.36rem;
        }
    }
}
.popup-query-daterange{
    background: rgba(0,24,61,1);
    box-shadow: inset 0px 0px 0.08rem 0.01rem rgba(51,160,255,0.44);
    border-color: rgba(51,160,255,0.44);
    color: #fff;
    .el-date-range-picker__content.is-left{
        border-right: 1px solid rgba(51,160,255,0.44);
    }
    .el-date-table th {
        padding: 5px;
        color: #eee;
        border-bottom: solid 1px rgba(51,160,255,0.44);
    }
    .el-date-table td.next-month, .el-date-table td.prev-month {
        color: #aaa;
    }
    .el-picker-panel__icon-btn{
        color: #fff;
    }
    .el-date-table td.in-range div {
        background-color: rgba(51,160,255,0.44);
    }
    &.el-popper[x-placement^=bottom] .popper__arrow {
        border-bottom-color: rgba(51,160,255,0.44);
    }
    &.el-popper[x-placement^=top] .popper__arrow {
        border-top-color: rgba(51,160,255,0.44);
    }
    &.el-popper[x-placement^=bottom] .popper__arrow::after {
        border-bottom-color: rgba(0,24,61,0.7);
    }
    &.el-popper[x-placement^=top] .popper__arrow::after {
        border-top-color: rgba(0,24,61,0.7);
    }
}
.popup-query-select{
    background: rgba(0,24,61,1);
    box-shadow: inset 0px 0px 0.08rem 0.01rem rgba(51,160,255,0.44);
    border-color: rgba(51,160,255,0.44);
    .el-select-dropdown__item{
        color: #fff;
        font-size: 0.14rem;
        padding: 0 0.2rem;
        height: 0.4rem;
        line-height: 0.4rem;
        &.hover, &:hover {
            background-color: rgba(51,160,255,0.44);
        }
    }
    &.is-multiple .el-select-dropdown__item.selected{
        color: #fff;
        background-color: rgba(51,160,255,0.44);
        &.hover {
            background-color: rgba(51,160,255,0.44);
        }
    }
    &.el-popper[x-placement^=bottom] .popper__arrow {
        border-bottom-color: rgba(51,160,255,0.44);
    }
    &.el-popper[x-placement^=top] .popper__arrow {
        border-top-color: rgba(51,160,255,0.44);
    }
    &.el-popper[x-placement^=bottom] .popper__arrow::after {
        border-bottom-color: rgba(0,24,61,0.7);
    }
    &.el-popper[x-placement^=top] .popper__arrow::after {
        border-top-color: rgba(0,24,61,0.7);
    }
}
// 弹出层默认表单详情
.dialog-form-detail-box{
    font-size: 0.16rem;
    font-family: "AlibabaPuHuiTi55";
    .form-item{
        display: flex;
        align-items: center;
        min-height: 0.4rem;
        background: rgba(112,188,255,0.04);
        box-shadow: inset 1px 0px 0px 0px rgba(255,255,255,0.24);
        margin-bottom: 0.16rem;
        padding: 0.12rem;
        position: relative;
        .form-label{
            font-family: "AlibabaPuHuiTi65";
            color: #70BCFF;
            flex-shrink: 0;
            min-width: 0.8rem;
        }
        .form-value{
            color: #fff;
            padding-left: 0.05rem;
            flex: 1;
            position: relative;
            .image{
                width: 0.96rem;
                height: 0.96rem;
                margin-right: 0.12rem;
            }
            .value-item{
                margin-bottom: 0.1rem;
                &:last-child{
                    margin-bottom: 0;
                }
            }
            .unit-text{
                position: absolute;
                right: 0.2rem;
                top: 50%;
                transform: translateY(-50%);
                font-size: 0.16rem;
            }
            .el-upload--picture-card{
                width: 0.88rem;
                height: 0.88rem;
                line-height: 0.95rem;
                background-color: transparent;
                border-color: rgba(112,188,255,0.6);
                i{
                  color: rgba(112,188,255,0.6);
                  font-size: 0.32rem;
                }
            }
            .el-upload-list--picture-card .el-upload-list__item{
                width: 0.88rem;
                height: 0.88rem;
                background-color: transparent;
                border-color: rgba(112,188,255,0.6);
            }
        }
        &.img-box{
            height: auto;
            padding: 0.12rem;
        }
        .el-select{
            .el-input__inner{
                background-color: transparent;
                font-size: 0.16rem;
                border: 0;
                padding: 0;
                height: 0.24rem;
            }
            .el-input__suffix{
                right: 0;
                .el-select__caret{
                    color: #fff;
                    font-size: 0.12rem;
                    line-height: 0.24rem;
                    width: 0.25rem;
                }
                .el-icon-arrow-up:before {
                    content: "\e78f";
                }
            }
            .el-tag.el-tag--info{
                background-color: #00183d;
                border-color: #00183d;
                color: #fff;
            }
            .el-tag__close.el-icon-close{
                background-color: #1D4D97;
                color: #fff;
            }
        }
        input{
            background-color: transparent;
            outline:none;
            border: 0;
            font-size: 0.16rem !important;
            height: 0.24rem;
            padding: 0;
            margin: 0;
            &::-webkit-input-placeholder{   /* 使用webkit内核的浏览器 */
                color: rgba(255,255,255,0.72) !important;
            }
            &:-moz-placeholder{    /* Firefox版本4-18 */
                color: rgba(255,255,255,0.72) !important;
            }              
            &::-moz-placeholder{    /* Firefox版本19+ */
                color: rgba(255,255,255,0.72) !important;
            }              
            &:-ms-input-placeholder{   /* IE浏览器 */
                color: rgba(255,255,255,0.72) !important;
            }
        }
        .el-radio{
            color: #70A9FF;
            .el-radio__label {
                font-size: 0.16rem;
                padding-left: 0.1rem;
            }
            .el-radio__input.is-checked + .el-radio__label {
                color: #FFFFFF;
            }
            .el-radio__inner{
                background-color: transparent;
                border-color: #70BCFF;
                width: 0.16rem;
                height: 0.16rem;
            }
            .el-radio__input.is-checked .el-radio__inner {
                border-color: #70ECFF;
                background: transparent;
                &:after {
                    width: 0.08rem;
                    height: 0.08rem;
                    background: linear-gradient(180deg, #FFFFFF 0%, #70ECFF 100%);
                }
            }
        }
    }
}
// 检查报告默认表单
.cockpit-plain-table{
	border-collapse: collapse;
	width: 100%;
    font-size: 0.16rem;
    font-family: "AlibabaPuHuiTi65";
    margin-bottom: 0.16rem;
    .header-bg{
        text-align: center;
    }
	tr{
		td{
            color: #fff;
			border:1px solid #004C8F;
			padding:0.15rem;
            .titleName-danger{
                white-space: initial;
                height: auto;
            }
            .el-checkbox__input.is-checked .el-checkbox__inner{
                background-color: #004C8F;
                border-color: #004C8F;
            }
            .img-list{
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                .img-item{
                    width: 0.6rem;
                    height: 0.6rem;
                    margin: 0.05rem;
                }
            }
            .detail-btn{
                height: 0.3rem;
                line-height: 0.3rem;
                background: #3385FF;
                border-radius: 0.2rem;
                padding: 0 0.16rem;
                font-size: 0.14rem;
                margin: 0 0.06rem;
                opacity: 0.5;
                cursor: pointer;
                display: inline-block;
                &:hover{
                    opacity: 1;
                }
            }
		}
	}
}

// 步骤样式
.dialog-step-box{
    .dialog-step-item{
        position: relative;
        padding-left: 0.48rem;
        margin-bottom: 0.12rem;
        &:before{
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 0.36rem;
            height: 0.36rem;
            background-size: 100% 100%;
            background-image: url('../../assets/cockpit_image/dialog/step-point.png');
            opacity: 0.52;
        }
        &:after{
            content: '';
            position: absolute;
            left: 0.16rem;
            top: 0.38rem;
            width: 0.02rem;
            height: calc(100% - 0.28rem);
            background: rgba(112,236,255,0.4);
        }
        &:last-child{
            &:after{
                height: 0;
            }
        }
        &.active{
            &:before{
                opacity: 1;
            }
        }
    }
}